<%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c-rt"%>
<link rel="stylesheet" href="/css/yaodian100_v2.css" type="text/css" media="screen" /> 


  <!-- content start --> 
  	<div class="content"> 
  	<c-rt:if test="${srcType=='2'}">
      <div class="a-up-title"><a href="/help/8_policy.html" target="_blank">换货政策说明</a> | <a href="/help/8_exchange.html" target="_blank">换货流程说明</a></div> 
      
    </c-rt:if>
    <c-rt:if test="${srcType=='1'}">
      <div class="a-up-title"><a href="/help/8_policy.html" target="_blank">退货政策说明</a> | <a href="/help/8_return.html" target="_blank">退货流程说明</a></div> 
      
    </c-rt:if>
    
    
      <h2>耀点100商品退换货申请使用条款</h2> 
      <iframe src="/docs/agree_change_retund.html" frameborder="0" allowtransparency="yes" width="100%" height="480" class="doc-agreement">耀点100商品退换货</iframe> 
      <p align="center"><input name="hasReadRule" id="hasReadRule" type="checkbox" value="true" /> 我已阅读并同意以上条款</p> 
      <p align="center" style="margin: 15px 0;"><a class="btn-mid" href="#" id="submit_button">确认</a></p> 
    </div> 
    <div id="dialog"></div>
  <!-- content end --> 
  <script>
  $(function(){
		<c-rt:if test="${srcType=='2'}">
		$('#current_location').html(' ＞ <a href="../member/myOrder/showOrders.do?t=T&p=1">订单查询</a> > 我要换货');
		</c-rt:if>
		<c-rt:if test="${srcType=='1'}">
		$('#current_location').html(' > <a href="../member/myOrder/showOrders.do?t=T&p=1">订单查询</a> > 我要退货');
	　</c-rt:if> 
	$('#submit_button').click(function(){
		if($('#hasReadRule').attr('checked')){
			<c-rt:if test="${srcType=='1'}">
			location.href='<c-rt:url value="/member/serviceOrder/returnProductApply.do?orderId=${param.orderId}&orderProdId=${param.orderProdId}"/>';
			</c-rt:if>
			<c-rt:if test="${srcType=='2'}">
			location.href='<c-rt:url value="/member/serviceOrder/changeProductApply.do?orderId=${param.orderId}&orderProdId=${param.orderProdId}"/>';
			</c-rt:if>
		}else{
			alertDialog('阅读条款', '请阅读并勾选同意条款！');
		}
	});
  });
  </script>